﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace tank
{
	public class Done_Wall : MonoBehaviour
	{

		// Use this for initialization
		void Start()
		{

		}

		// Update is called once per frame
		void Update()
		{

		}
		void OnCollisionEnter2D(Collision2D coll)
		{
			if (coll.gameObject.tag == "bullet")
			{

				Destroy(coll.gameObject);

			}
		}
	}
}
